package com.bootdo.sell.dao;

import com.bootdo.sell.domain.CpDO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

/**
 * 套餐关联表
 * @author mp
 * @email 1992lcg@163.com
 * @date 2020-03-02 09:22:07
 */
@Mapper
public interface CpDao {

	CpDO get(Integer cid);
	
	List<CpDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(CpDO cp);
	
	int update(CpDO cp);
	
	int remove(Integer cId);
	
	int batchRemove(Integer[] cids);
}
